package com.songtech.auth.resource.dao;

import java.util.List;
import java.util.Map;

import com.songtech.auth.resource.model.Resources;

public interface AuthResMapper {

	Resources queryResById(String resId);

	List<Resources> queryResources(Resources res);

	List<Resources> queryAllResources();

	List<Resources> queryResourcesByPid(String resId);

	int insert(Resources resource);

	int update(Resources res);

	int updateResource(Resources res);

	List<Resources> getRoleRes(Map<String, Object> map);

	List<Resources> getResourceById(String resId);

	List<Resources> getResc(Map<String, Object> map);

	int disabledResource(Resources res);
}
